/****************************************
*  This file created using "Writer B"   *
*      a program written by CTonk       *
*          ctonk87@hotmail.com          *
*     [timestamp 02/20/06  12:51:00]    *
****************************************/

// Exit.h

#ifndef H_EXIT
#define H_EXIT


class Exit
{
	private:
		bool	_there;
		int		_point;
		bool	_door;
		bool	_open;
		bool	_lock;
		bool	_locked;
		int		_key;

	public:
		// Constructors...
		Exit();
		Exit( Exit& );
		~Exit();

		// Operators...
		Exit& operator = ( Exit& );

		// Public accessor methods...
		bool	GetThere();
		void	SetThere( bool );
		int		GetPoint();
		void	SetPoint( int );
		bool	GetDoor();
		void	SetDoor( bool );
		bool	GetOpen();
		void	SetOpen( bool );
		bool	GetLock();
		void	SetLock( bool );
		bool	GetLocked();
		void	SetLocked( bool );
		int		GetKey();
		void	SetKey( int );

		// Other methods...
		void	Display( std::ostream& );
		void	Display( std::string& );
		static const char* StringName( int );
		void	Save( std::ofstream& );
		void	Load( std::ifstream& );

};

#endif // #ifndef H_EXIT
